@import "../../../customGlobal.scss";

ion-header {
  z-index: 16;
}

ion-segment {
  --color-checked: black;
  height: 2.75rem;
  // border-bottom: 0.03rem #ebebed solid;
  position: relative;
  background: #ffffff;
  flex: 8;
  justify-content: flex-start !important; // 兼容低版本安卓手机
  @if $appType == "LJ" {
    background: #ffffff;
    border-radius: 0.5rem 0.5rem 0rem 0rem;
  }
}

#sg-bg {
  height: 2.75rem;
  width: 100%;
  display: none;
  transform: all 0.5s;
}

#topSegment {
  transform: all 0.5s;
  display: flex;
}

#scrollContent {
  @if $appType == "LJ" {
    // padding-left: 0.5rem;
    background: transparent;
    // padding-right: 0.5rem;
  }
}

ion-segment-button {
  // min-width: 3.5rem; //Or whatever width you want tab to be - for four visible tabs: min-width: 25vw;
  background-color: rgba(255, 255, 255, 1);
  text-transform: none;
  color: #27282e;
  // color: rgba(133, 136, 148, 1);
  font-size: 1rem;
  @if $appType == "LJ" {
    color: $LJLabelColor;
    // background-color: #f0f1f2;
    border-radius: 0rem 0rem 0rem 0rem;
    font-size: 1.06rem;
    font-weight: bold;
  }
}

.ios ion-segment-button {
  border: 0;
}


ion-segment-button span {
  display: block;
  margin-left: 0.625rem;
  margin-right: 0.625rem;
  background-color: white;
  font-weight: normal;
}

ion-segment-button:last-child span {
  margin-right: 0.88rem;
}

ion-segment-button:first-child span {
  margin-left: 0.88rem;
}

ion-thumbnail {
  background-color: blanchedalmond;
}

ion-thumbnail {
  border-radius: 7px;
  padding: 2px;
}


.segment-img-link {
  height: 1rem;
  width: 1rem;
  margin-right: 1.25rem;
  margin-top: 0.775rem;
  margin-bottom: 0.9rem;
  margin-left: 0.875rem;
}
// @supports (top: env(safe-area-inset-top)) {
//   #topSegment {
//     height: env(safe-area-inset-top);
//   }
// }
// @supports (top: constant(safe-area-inset-top)) {
//   #topSegment {
//     height: constant(safe-area-inset-top);
//   }
// }

.count-span {
  display: inline-block;
  position: absolute;
  height: 1rem;
  border: 0.09rem solid #fff;
  border-radius: 0.5rem;
  background: #ff6314;
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 0.75;
  padding: 2px 4px;
  top: 0;
  z-index: 1000;
}

.notifications-badge {
  position: absolute;
  top: 1px;
  right: 25px;
  border-radius: 100%;
}

.badge-layer {
  display: flex;
}
.badge-p-font:first-child {
  margin-left: 1.25rem;
}
.badge-p-font {
  display: block;
  margin-bottom: 0.3125rem;
}
.badge-count {
  height: 1rem;
  border: 0.09rem solid #fff;
  border-radius: 0.5rem;
  background: #ff6314;
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 0.75;
  padding: 2px 4px;
  z-index: 1000;
  margin-top: -0.07rem;
  margin-left: -0.2rem;
}
.check-img {
  width: 2.75rem;
  height: 2.75rem;
}

.nav {
  position: relative;
  z-index: 12;
  font-size: 0.87rem;
  background: #fff;
}

.siftList {
  text-align: center;
  padding: 0.5rem 0rem 0.5rem 0rem;
  color: #5c5e66;
  background: #fff;
  z-index: 12;
}
.fl {
  position: relative;
}

.fl:last-child {
  border-right: 0;
}

.fl.active {
  color: #ff6314;
}
.icon-down {
  background: url("../../../assets/img/icon_up.png") no-repeat;
  background-size: 0.25rem;
  width: 0.25rem;
  margin-left: 0.32rem;
}
.sift-title {
  max-width: 80%;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.88rem;
  line-height: 0.88rem;
}

.divider {
  height: 1px;
  background: #ebebed;
}


.selectPane2 {
  font-size: 1rem;
  position: absolute;
  left: 0;
  right: 0;
  max-height: 17.25rem;
  background: #fff;
  z-index: 12;
  overflow: hidden;
}

.fixed-height {
  max-height: 17.25rem !important;
}

.firstLevel,
.secondLevel {
  max-height: 359px;
  overflow: scroll;
  float: left;
}
.level-li {
  text-align: left;
  color: #27282e;
}
.listItem {
  height: 100%;
  padding: 15px 20px;
}
.firstLevel {
  width: 100%;
  left: 0;
}
.firstLevel-active {
  background: #fff;
  color: #ff6314;
}
input {
  display: inline-block;
  width: 4.06rem;
  height: 1.75rem;
  background: #f5f5f7;
  border-radius: 0.13rem;
  text-align: center;
  --padding-top: 2px;
  border: none;
}
.firstLevel-button {
  width: 3.5rem;
  height: 1.75rem;
  border: 0.04rem solid #b6b7bf;
  border-radius: 14px;
  color: #5c5e66;
  float: right;
  background: #fff;
  font-size: 16px;
}
.btn-disable {
  color: #b6b7bf;
}
.hasSecond {
  width: 40%;
  background: #f7f8fa;
}

.secondLevel {
  right: 0;
  width: 60%;
}

.secondLevel-active {
  color: #ff6314;
}
.semicircle-box {
  display: flex;
  align-items: center;
  width: 4.69rem;
  height: 1.75rem;
  background: #f2f3f5;
  @if $appType == "LJ" {
    background: #ffffff;
  }
  border-radius: 0.94rem;
  justify-content: center;
}

.marginRight {
  margin-right: 0.315rem;
}
.marginLeft {
  margin-left: 0.315rem;
}

.showDrop {
  display: none;
}

ion-backdrop {
  // opacity: 0.3;
  position: fixed;
  bottom: 0;
}

.tick-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url("../../../assets/img/tick.png") no-repeat center;
  background-size: 100%;
  float: right;
}
/* 左右点 */
.segment-block span {
  min-width: 35px;
  line-height: 1;
  border: 1px solid #ff6314;
  display: inline-block;
  text-align: center;
  padding: 5px 10px 5px 12px;
}
.border-left {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.checked {
  background: #ff6314;
  color: #ffffff;
}
.nochecked {
  background: #ffffff;
  color: #ff6314;
}
.border-right {
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.dateclass {
  display: flex;
  padding: 0px 20px 9px 20px;
}
.dateclass-choose {
  flex-grow: 1;
}
.datechange {
  display: flex;
}
.datechange-img {
  width: 6px;
  height: 11px;
}
.daymonth {
  width: 110px;
  text-align: center;
  width: 110px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: rgba(39, 40, 46, 1);
}
@media screen and (max-width: 340px) {
  input {
    width: 3rem;
    height: 1.75rem;
  }
  .firstLevel-button {
    width: 3rem;
  }
}

.imgIconDown {
  margin-left: 0.31rem;
  width: 0.25rem;
  height: 0.19rem;
}

.switch-box {
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  align-items: center;
  background: white;
  z-index: 12;
  position: sticky;
}
.home-switch-box-button-twoCss {
  // background: #ffffff;
  box-shadow: 0rem 0.13rem 1.25rem 0rem rgba(37, 38, 41, 0.1);
  border-radius: 0.31rem;
  margin-left: 0.63rem;
  margin-right: 0.63rem;
  min-width: 3.33rem;
  max-width: 6.47rem;
  background: #ffffff;
  border: 0.03rem solid #e3e5e8;

}
.home-switch-box-label-twoCss {
  font-size: 0.81rem;
  // font-weight: normal;
  color: $LJLabelColor;
  line-height: 0.81rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.63rem;
  padding-bottom: 0.63rem;
}
.home-switch-box-button-oneCss {
  // box-shadow: 0rem 0.13rem 1.25rem 0rem rgba(37, 38, 41, 0.1);
  border-radius: 0.13rem;
  margin-left: 0.63rem;
  margin-right: 0.63rem;
  min-width: 3.13rem;
  max-width: 6.47rem;
  background: #f5f5f7;
  color: $LJLabelColor;
}
.home-switch-box-label-oneCss {
  font-size: 0.81rem;
  line-height: 0.81rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.63rem;
  padding-bottom: 0.63rem;
}
.ffive {
  min-width: 7rem !important;
}

.ffour {
  min-width: 6rem !important;
}

.fthree {
  min-width: 4.94rem !important;
}

.switch-unchecked {
  background: #ffffff !important;
}
.switch-checked-twoCss {
  background: #ffca3a !important;
  border-radius: 0.31rem !important;
  font-weight: bold !important;
  color: $LJLabelColor !important;
}

.switch-checked-oneCss {
  font-weight: normal !important;
  background: rgba(255, 202, 58, 0.2) !important;
  border-radius: 0.13rem !important;
  color: #946c00 !important;
}

.home-checked-font-oneCss {
  color: #946c00 !important;
}

.home-checked-font-twoCss {
  color: $LJLabelColor !important;
}

.switch-block1 {
  width: 1rem;
  height: 3rem;
  background: #ffffff;
  z-index: 12;
  right: 0rem;
  position: absolute;
}

.switch-block2 {
  width: 1rem;
  height: 3rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, #ffffff 100%);
  z-index: 12;
  right: 1rem;
  position: absolute;
}

.switch-main-box {
  display: flex;
}

.empty-box {
  height: 1rem;
  background: transparent;
  width: 1.6rem;
}
